layui.define(['jquery'], function(exports) {
	var $ = layui.jquery;

	var select = function() {
		var that = this;
		that.name = "下拉框";
		that.createNode = function() {
			var html = ' <label class="layui-form-label">选择框</label>' +
				'    <div class="layui-input-block">' +
				'      <select name="city" lay-verify="required" disabled>' +
				'      </select>' +
				'    </div>';
			var ctrlDiv = document.createElement("div");
			ctrlDiv.className = "layui-form-item ays-ctrl";
			ctrlDiv.innerHTML = html;
			that.control = ctrlDiv;
			return ctrlDiv;
		}
	}

	exports('select', {
		create: function() {
			return new select()
		}
	});
});
